package com.cloudsea.yunhaistores.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("spus")
public class Spus {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Long storeId;
    private String spuName;
    private String spuDescription;
    private Long defaultPrice; // 单位：分
    private String spuImageUrl;
    private String categoryName;
    private Integer status;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}